.layui-tab {
    margin: 0;
    height: 100%;
}

.layui-tab-title {
    border-bottom: none;
    background-color: #509DE1;
    color: #FFFFFF;
    height: calc(100% - 31px);
    width: 30px;
    float: left;
}

/* 重置 - 去掉下划线 */

.layui-tab-title .layui-this {
    background: #f0f0f0;
}

/* 增加背景 */

.layui-tab-title .layui-this:after {
    border: none;
}

/* 重置 -this无边框 */

.layui-tab-title li {
    display: list-item;
    writing-mode: vertical-lr;
    -webkit-writing-mode: vertical-lr;
    writing-mode: tb-lr; /*为了兼容IE*/
    -ms-writing-mode: tb-lr;
    height: 80px;
    padding: 10px 0;
    min-width: 30px;
    line-height: 30px;
    border-radius: 5px 0 0 5px;
    moz-user-select: -moz-none;
    -moz-user-select: none;
    -o-user-select: none;
    -khtml-user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* 重置 -纵向显示 */

.layui-tab-title .layui-badge, .layui-tab-title .layui-badge-dot {
    left: 1px;
    top: 2px;
}

/* 重置 -徽章位置 */

.layui-badge {
    height: 14px;
    line-height: 14px;
}

.layui-badge, .layui-badge-dot, .layui-badge-rim {
    position: absolute;
    display: inline-block;
    font-size: 12px;
    text-align: center;
    background-color: #FFA500;
    color: #FFFFFF;
    padding: 0px;
    border-radius: 6px;
    transform: rotate(-90deg)
}

.layui-tab-content {
    height: calc(100% - 42px);
    padding: 5px;
    overflow-y: auto;
    background-color: #f0f0f0;
}

.layui-toolbar {
    position: relative;
    left: 0;
    width: 100%;
    height: 30px;
    white-space: nowrap;
    /*font-size: 0;*/
    background-color: #CCEFF5;
    border-bottom: 1px solid #509DE1;
    transition: all .2s;
    -webkit-transition: all .2s;
}

.layui-toolbar li {
    display: inline-block;
    *display: inline;
    *zoom: 1;
    vertical-align: middle;
    font-size: 14px;
    transition: all .2s;
    -webkit-transition: all .2s;
    position: relative;
    line-height: 30px;
    max-width: 30px;
    max-height: 30px;
    margin-left: 5px;
    text-align: center;
    cursor: pointer
}